Crate starlark_map

source ·
Expand description

Ordered map optimized for starlark-rust use cases.

Modules§

  • SmallMap which considers iteration order important for equality and hash.
  • SmallSet which considers order important for equality and hash.
  • A Map with deterministic iteration order that specializes its storage based on the number of entries to optimize memory. This is essentially IndexMap with two changes:
  • Ordered set.
  • SmallMap which asserts that its elements are sorted.
  • SmallSet which asserts that its elements are sorted.
  • Vec with elements sorted.
  • HashMap that does not expose insertion order.
  • HashSet that does not expose insertion order.
  • A Vec<(A, B)> like object which stores A and B separately.

Macros§

Structs§

Traits§